package cn.entity;

import java.io.Serializable;

public class Question implements Serializable{
    private Integer id;

    private Integer uid;

    private String name;

    private String content;

    private String optime;

    private Integer isdel;

    public Question(Integer id, Integer uid, String name, String content, String optime, Integer isdel) {
        this.id = id;
        this.uid = uid;
        this.name = name;
        this.content = content;
        this.optime = optime;
        this.isdel = isdel;
    }

    public Question() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getOptime() {
        return optime;
    }

    public void setOptime(String optime) {
        this.optime = optime == null ? null : optime.trim();
    }

    public Integer getIsdel() {
        return isdel;
    }

    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }
}